<template>
  <div class="game">
    <h3>Game</h3>
    <router-link tag="button" to="/Home/Game/GameDetail">查看详情</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'Game',
  mounted() {
    console.log('Game mounted')
  },
  beforeDestroy() {
    console.log('Game beforeDestroy')
  }
}
</script>

<style scoped>
.game {
  background-color: greenyellow;
}
</style>
